package books.ThinkingInJava.src.Chapter5;

/**
 * @author bloodcolding
 * @version 1.0
 * @date 2/9/2020 9:57 AM
 */
public class TestOverloadAndOverride extends Bird {


    public void eat() {

    }

    @Override
    public void fly() {
        super.fly();
    }

    @Override
    public void fly(String s) {
        super.fly(s);
    }

    public static void main(String[] args) {
        TestOverloadAndOverride t = new TestOverloadAndOverride();
        t.eat();
        t.fly();
        t.fly("wind");
    }
}
